Manages the depth stencil states recorded. More...
Public Member Functions | |
| DepthStencilState * | getDefaultState () const |
Public Member Functions inherited from nkGraphics::Manager< DepthStencilState > | |
| DepthStencilState * | createOrRetrieve (nkMemory::StringView name) |
| DepthStencilState * | record (nkMemory::StringView name, nkMemory::UniquePtr< DepthStencilState > resource) |
| DepthStencilState * | get (nkMemory::StringView name) const |
| DepthStencilState * | getByIndex (unsigned int index) const |
| void | rename (nkMemory::StringView currentName, nkMemory::StringView newName) |
| void | erase (nkMemory::StringView name) |
| nkMemory::UniquePtr< DepthStencilState > | relinquish (nkMemory::StringView name) |
Manages the depth stencil states recorded.
DepthStencilState creation / deletion can go through this class, allowing it to act as a repository of resources which lifetime will get managed as needed. Like any Manager, it is always owning the memory it owns, unless it passes back the ownership explicitly.
| DepthStencilState* nkGraphics::DepthStencilStateManager::getDefaultState | ( | ) | const |